//
//  BaseM.h
//  YYFMMall
//
//  Created by chenzm on 2019/8/26.
//  Copyright © 2019 YuYou1. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseM : NSObject

#pragma mark - 控件属性
/// 重用id
@property(strong,nonatomic)NSString *bsReuseId;
///提示文本1
@property(nonatomic,copy)NSString *bsPlaceHolder1;
///提示文本2
@property(nonatomic,copy)NSString *bsPlaceHolder2;
///标题1
@property(nonatomic,copy)NSString *bsTitle1;
///标题2
@property(nonatomic,copy)NSString *bsTitle2;
///标题3
@property(nonatomic,copy)NSString *bsTitle3;
/// 富文本1
@property(nonatomic,copy)NSMutableAttributedString *bsMatt1;
/// 富文本2
@property(nonatomic,copy)NSMutableAttributedString *bsMatt2;
/// 文本分布样式1
@property(nonatomic,assign)NSTextAlignment bsTextAlign1;
/// 文本分布样式2
@property(nonatomic,assign)NSTextAlignment bsTextAlign2;
/// 是否显示1
@property(nonatomic,assign)BOOL bsIsShow1;
/// 是否显示2
@property(nonatomic,assign)BOOL bsIsShow2;
/// 是否隐藏1
@property(nonatomic,assign)BOOL bsIsHidden1;
/// 是否隐藏1
@property(nonatomic,assign)BOOL bsIsHidden2;
/// 是否选中1
@property(nonatomic,assign)BOOL bsIsSelect1;
/// 是否选中2
@property(nonatomic,assign)BOOL bsIsSelect2;
///高度
@property(nonatomic,assign)CGFloat bsHeight;
///高度2
@property(nonatomic,assign)CGFloat bsHeight2;
///宽度
@property(nonatomic,assign)CGFloat bsWidth;
///大小
@property(nonatomic,assign)CGSize bsSize;
///圆角
@property(nonatomic,assign)CGFloat bsCornerRaf;
///
@property (nonatomic,strong) UIColor *bsColor1;
///
@property (nonatomic,strong) UIColor *bsColor2;

/// 键盘类型1
@property(nonatomic)UIKeyboardType bsKeyboardType1;
/// 键盘类型2
@property(nonatomic)UIKeyboardType bsKeyboardType2;
///键盘样式 0、默认 1、手机号判断 2、验证码判断 3、显示右边自定义图标
@property(nonatomic,assign)NSInteger textF_type;



#pragma mark - 信息传值
/// 是否添加编辑
@property(nonatomic,assign)BOOL bsIsAddEdit;

///选择对应控件的id，用以区分同页面使用同控件
@property(nonatomic,assign)NSInteger bsSelectId;

/// 数量/个数
@property(nonatomic,assign)NSInteger bsCount;

/// 字体1
@property (nonatomic,strong) UIFont *bsFont1;
/// 字体2
@property (nonatomic,strong) UIFont *bsFont2;
/// 图片
@property(nonatomic,strong)UIImage *bsImage;
/// 图片链接1
@property(nonatomic,copy)NSString *bsImgUrl1;
/// 图片链接2
@property(nonatomic,copy)NSString *bsImgUrl2;
/// 默认图片1
@property(nonatomic,copy)NSString *bsDefImgStr1;
/// 默认图片2
@property(nonatomic,copy)NSString *bsDefImgStr2;
/// 可变数组1
@property(nonatomic,strong)NSMutableArray *bsMarr1;
/// 可变数组2
@property(nonatomic,strong)NSMutableArray *bsMarr2;
/// 可变数组 专用于表格
@property(nonatomic,strong)NSMutableArray *bsCellMarr;
/// 可变数组 专用于表格 组尾展示
@property(nonatomic,strong)id bsFooterM;
/// 可变字典1
@property(nonatomic,strong)NSMutableDictionary *bsMdic1;
/// 可变字典2
@property(nonatomic,strong)NSMutableDictionary *bsMdic2;
///
@property (nonatomic,assign) NSInteger bsType;
///
@property (nonatomic,assign) NSInteger bsStatus;

+(NSMutableArray *)shareArrModel:(NSArray *)arr;

+(id)shareDicModel:(NSDictionary *)dic;

@end

NS_ASSUME_NONNULL_END
